package com.zjj.pojo.entity;

import java.io.Serial;
import java.io.Serializable;

public class Role implements Serializable {

    @Serial
    private static final long serialVersionUID = -5569378773263566007L;
    private int id; // 权限Id
    private String name; // 权限名称

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
